var baseMsg = JSON.parse('{"CODE":0, "ACTION":"","LEVEL":"T1", "MSG":"","DATA":"","SCRIPTNAME":"verify_price_9"}');
if (!isNull(retail_tax)) {
    if (func_be_weight_item(fixed_weight, scalable_flag)) {
        if (parseFloat(retail_tax / 2) < 1000 && !func_is_specific_decimal_place_equalTo(parseFloat(retail_tax / 2), 1, 9)) {
            baseMsg.CODE = 1;
            baseMsg.ACTION = 'risk';
            baseMsg.MSG = '零售价小于1000 且不是.9结尾';
        }

        if (parseFloat(retail_tax / 2) >= 1000 && !func_is_specific_decimal_place_equalTo_not_dot(parseFloat(retail_tax / 2), 9)) {
            baseMsg.CODE = 1;
            baseMsg.ACTION = 'risk';
            baseMsg.MSG = '零售价大于等于1000 且不是9结尾';
        }
    } else {
        if (parseFloat(retail_tax) < 1000 && !func_is_specific_decimal_place_equalTo(parseFloat(retail_tax), 1, 9)) {
            baseMsg.CODE = 1;
            baseMsg.ACTION = 'risk';
            baseMsg.MSG = '零售价小于1000 且不是.9结尾';
        }

        if (parseFloat(retail_tax) >= 1000 && !func_is_specific_decimal_place_equalTo_not_dot(parseFloat(retail_tax), 9)) {
            baseMsg.CODE = 1;
            baseMsg.ACTION = 'risk';
            baseMsg.MSG = '零售价大于等于1000 且不是9结尾';
        }
    }
}



JSON.stringify(baseMsg);